package com.ocean.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocean.common.annotation.Excel;
import com.ocean.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 o_down_order
 *
 * @author ocean
 * @date 2022-12-05
 */
public class ODownLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 下载日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date downTime;

    private String userId;

    private String productId;

    private String departId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getDownTime() {
        return downTime;
    }

    public void setDownTime(Date downTime) {
        this.downTime = downTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getDepartId() {
        return departId;
    }

    public void setDepartId(String departId) {
        this.departId = departId;
    }

    @Override
    public String toString() {
        return "ODownLog{" +
                "id='" + id + '\'' +
                ", downTime=" + downTime +
                ", userId='" + userId + '\'' +
                ", productId='" + productId + '\'' +
                ", departId='" + departId + '\'' +
                '}';
    }
}
